package com.ruoyi.adapayMember.mapper;

import java.util.List;
import com.ruoyi.adapayMember.domain.AdapayMember;
import org.apache.ibatis.annotations.Param;

/**
 * 汇付分账用户Mapper接口
 *
 * @author ch
 * @date 2022-02-22
 */
public interface AdapayMemberMapper
{
    /**
     * 查询汇付分账用户
     *
     * @param id 汇付分账用户主键
     * @return 汇付分账用户
     */
    public AdapayMember selectAdapayMemberById(Long id);

    /**
     * 查询汇付分账用户列表
     *
     * @param adapayMember 汇付分账用户
     * @return 汇付分账用户集合
     */
    public List<AdapayMember> selectAdapayMemberList(AdapayMember adapayMember);

    /**
     * 新增汇付分账用户
     *
     * @param adapayMember 汇付分账用户
     * @return 结果
     */
    public int insertAdapayMember(AdapayMember adapayMember);

    /**
     * 修改汇付分账用户
     *
     * @param adapayMember 汇付分账用户
     * @return 结果
     */
    public int updateAdapayMember(AdapayMember adapayMember);

    /**
     * 删除汇付分账用户
     *
     * @param id 汇付分账用户主键
     * @return 结果
     */
    public int deleteAdapayMemberById(Long id);

    /**
     * 批量删除汇付分账用户
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAdapayMemberByIds(Long[] ids);

    /**
     * 批量逻辑删除汇付分账用户
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int logicDeleteAdapayMember(@Param("array")Long[] ids,@Param("delType")String delType,@Param("delUser")Long delUser);
}
